<ion-header>
    <ion-toolbar color="primary">
        <ion-buttons slot="start">
            <ion-back-button></ion-back-button>
        </ion-buttons>
        <ion-title>我的对接银行</ion-title>
    </ion-toolbar>
</ion-header>

<ion-content>
    <ion-list>
        <ion-item *ngIf="items.length == 0">
            <span style="width:200px;text-align:center;color:Red;margin: 0px auto">暂无数据</span>
        </ion-item>
        <ion-item *ngFor="let item of items;let i=index" (click)="goToDetails(i)">
            <ion-label>{{i+1}}.{{item.cbank}}-{{item.cconsultant}}</ion-label>
            <ion-label slot="end" style="max-width: 65px;font-size: 8px;" *ngIf="item.dconnecttime == null">正在对接中...</ion-label>
            <ion-label slot="end" style="max-width: 65px;font-size: 8px;" *ngIf="item.dconnecttime != null">对接成功</ion-label>
        </ion-item>
    </ion-list>
</ion-content>